.box{
    width: 100px;
    height: 100px;
}

#box1{
    .box;
    background: red;
}

#box2{
    .box;
    background: blue;
}

#box3{
    .box;
    background: yellow;
}